// @APIVersion 1.0.0
// @Title beego Test API
// @Description beego has a very cool tools to autogenerate documents for your API
// @Contact astaxie@gmail.com
// @TermsOfServiceUrl http://beego.me/
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"advertise-admin/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/v1",

		beego.NSNamespace("/tb_advertise",
			beego.NSInclude(
				&controllers.TbAdvertiseController{},
			),
		),

		beego.NSNamespace("/tb_banner",
			beego.NSInclude(
				&controllers.TbBannerController{},
			),
		),

		beego.NSNamespace("/tb_config",
			beego.NSInclude(
				&controllers.TbConfigController{},
			),
		),

		beego.NSNamespace("/tb_download",
			beego.NSInclude(
				&controllers.TbDownloadController{},
			),
		),

		beego.NSNamespace("/tb_fakeweb",
			beego.NSInclude(
				&controllers.TbFakewebController{},
			),
		),

		beego.NSNamespace("/tb_notification",
			beego.NSInclude(
				&controllers.TbNotificationController{},
			),
		),

		beego.NSNamespace("/tb_shortcut",
			beego.NSInclude(
				&controllers.TbShortcutController{},
			),
		),

		beego.NSNamespace("/tb_splashscreen",
			beego.NSInclude(
				&controllers.TbSplashscreenController{},
			),
		),

		beego.NSNamespace("/tb_switch",
			beego.NSInclude(
				&controllers.TbSwitchController{},
			),
		),

		beego.NSNamespace("/tb_switch2",
			beego.NSInclude(
				&controllers.TbSwitch2Controller{},
			),
		),

		beego.NSNamespace("/tb_tablescreen",
			beego.NSInclude(
				&controllers.TbTablescreenController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
